//
//  WeiboManager.h
//  TecentDemo
//
//  Created by leo on 9/14/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ManagerAdapter.h"
#import "Model.h"
#import "BaseManager.h"





@interface WeiboManager : BaseManager{


    
   
}
 
+(id)instance;
-(id)initwithDefault;

//Public Get MSG  
- (NSArray *)getHomeMsgWithPageFlage:(PageFlag)aPageFlag 
                             nReqNum:(NSInteger)aReqNum;
//Request timeline messages.

//status and comment
- (NSArray *)getPublicTimeline:(int) count; // statuses/public_timeline

- (NSArray *)getFriendsTimeline:(long) sinceId 
                          maxId:(long) maxid 
                          count:(int) maxCount 
                           page:(int) currentPage;

- (NSArray *)getUserTimeline:(long) uid 
                      userId:(int ) userId 
                  screenName:(NSString *) screenName 
                     sinceId:(long) sinceId 
                       maxId:(long) maxid 
                       count:(int ) maxCount 
                        page:(int) currentPage;

- (NSArray *)getMentions:(long) sinceId 
                   maxId:(long) maxid 
                   count:(int ) maxCount 
                    page:(int) currentPage;

- (NSArray *)getCommentsTimeline:(long) sinceId 
                           maxId:(long) maxid 
                           count:(int) maxCount 
                            page:(int) currentPage;

- (NSArray *)getCommentsByMe:(long) sinceId 
                       maxId:(long) maxid 
                       count:(int) maxCount 
                        page:(int) currentPage;

- (NSArray *)getCommentsToMe:(long) sinceId 
                       maxId:(long) maxid 
                       count:(int) maxCount 
                        page:(int) currentPage;

- (NSArray *)getComments:(long) statusId 
                   count:(int) maxCount 
                    page:(int) currentPage;

- (NSString *)getStatusCount:(long[]) ids;

- (NSString *)getStatusUnread:(int ) withOrNotNewStatus
                      sinceId:(long) sinceId;
- (NSString *)resetCount; 


//status show by weiboid
- (Status *)getStatusShow:(long) statusId;  
//get staus by userid and weiboid
- (Status *)getStatusByUidStatusId:(long) stautsId 
                               uid:(int) uid; 
//update status by replytoid
- (Status *)statusUpdate:(NSString *) status 
       inReplyToStatusId:(long) replyToId 
                latitude:(double) lat 
               longitude:(double) longitude;
// upload  status  with pic 
- (Status *)statusUpload:(NSString *) status 
                     pic:(NSString *) pic 
                latitude:(double ) lat 
               longitude:(double) longitude;

//destroy status by weiboid
- (Status *)statusDestroy:(long) statusId; 
//

- (Status *)statusRepost:(long) statusId 
                  status:(NSString *) status;

- (Comment *)comment:(long) statusId 
       commentString:(NSString *) commentString;

- (Comment *)commentDestroy:(long) commentId;


//emotions
//- (NSString *)getEmotions;





@end
